package com.youan.serve.controller.swagger;

import com.youan.pangu.security.bean.LoginInfor;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.youan.serve.dao.domain.UserRole;

/**
* <p>
    *  swagger接口描述文件
    * </p>
*
* @author auto_code
* @since 2020-03-04
*/
@Api(tags = "管理接口")
public interface UserRoleControllerSwagger {

    @ApiOperation(value = "新增一个UserRole实例")
    UserRole addUserRole(UserRole userRole, LoginInfor loginInfor);

    @ApiOperation(value = "修改一个UserRole实例")
    UserRole updateUserRole(UserRole userRole, LoginInfor loginInfor);

    @ApiOperation(value = "获取所有UserRole实例")
    List<UserRole> selectAllUserRole();

    @ApiOperation(value = "根据主键删除一个UserRole实例")
    void deleteUserRoleByUserRoleId(String userRoleId);

    @ApiOperation(value = "根据主键获取UserRole实例")
    UserRole selectUserRoleByUserRoleId(String userRoleId);

}

